package com.android.dumiaogou.model.auction;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/9/25.
 */

public class Auction_DetailRecentlyData implements Serializable {
    private String type;
    private List<ListBean> list;
    @Override
    public String toString() {
        return "{" +"\"type\"" + ":" + type+","
                +"\"list\"" + ":" + list+"}";

    }
    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public static  class  ListBean implements Serializable, MultiItemEntity
    {
        @Override
        public String toString() {
            return "{" +"\"mid\"" + ":" + mid+","
                    +"\"username\"" + ":" +username+","
                    +"\"photo\"" + ":" + photo+","
                    +"\"type\"" + ":" + type+","
                    +"\"price\"" + ":" + price+","
                    +"\"city\"" + ":" + city+","
                    +"\"ip\"" + ":" + ip+","
                    +"\"c_time\"" + ":" +c_time+ "}";

        }
        private int itemType;
        public static final int THREE = 3;

        public ListBean(int itemType) {
            this.itemType = itemType;
        }

        public ListBean(int itemType, String getting,String mid
                , String username,String photo,String type, String ip,String city,String c_time,String price) {
            this.itemType = itemType;
            this.getting = getting;
            this.mid = mid;
            this.price = price;
            this.c_time = c_time;
            this.username = username;
            this.photo = photo;
            this.type = type;
            this.ip = ip;
            this.city = city;
        }


        @Override
        public int getItemType() {
            return itemType;
        }
        private String getting;
        private String mid;
        private String username;
        private String photo;
        private String type;
        private String ip;
        private String city;
        private String c_time;
        private String price;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getGetting() {
            return getting;
        }

        public void setGetting(String getting) {
            this.getting = getting;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getC_time() {
            return c_time;
        }

        public void setC_time(String c_time) {
            this.c_time = c_time;
        }
    }
}
